package com.cn.design.factory.abstract1;

/**
 * @author xuhui
 * @Description:
 * @date 2022-06-29 20:38
 **/
public class Client {
    public static void main(String[] args) {
        AbstractFactory miFactory = new MiFactory();
        AbstractFactory appleFactory = new AppleFactory();
        miFactory.getPC();
        miFactory.getPhone();
        appleFactory.getPC();
        appleFactory.getPhone();
    }
}
